<template>
    <div id="divPlugin" class="plugin" style="height: 250px;width: 250px; ">
    </div>
    <div v-if="data.img">
        <div>抓的base64图片</div>
        <img :src="data.img" style="width: 300px; height: 250px;" />
    </div>
    <div>
        <el-button @click="init">初始化</el-button>
        <el-button @click="login">登录</el-button>
        <el-button @click="startRealPlay">预览</el-button>
        <el-button @click="capturePicData">抓图</el-button>
        <el-button @click="destroyPlugin">销毁</el-button>
    </div>
</template>
<script setup lang="ts" >
import { init, login, capturePicData, startRealPlay, destroyPlugin, data } from './index'
 import { ElButton } from 'element-plus';
</script>
<style lang="less" scoped></style>